import request from '../utils/request'

export const createFolder = (file) => {
    // console.log(file)
    return request.get(`/group/mkdir/${file}`)
}

export const chooseFile = () => {
    return request.get('/group/search')
}

export const sendFile = (username) => {
    console.log(username)
    return request.get(`/group/username/${username}`)
}